#include <stdio.h>
int AddrSample(void)
{
    int a;
    int *ptr;
    printf("input a int num:");
    scanf("%d",&a);
    ptr = &a;
    printf("a is %d\n",a);
    printf("*&a is %d\n",*&a);
    printf("ptr = &a\n");
    printf("*ptr is %d\n",*ptr);
    printf("ptr is %p\n",ptr);
    printf("&a is %p\n",&a);
}
int main(void)
{
    AddrSample();
    return 0;
}
